const fs = require('fs');

module.exports = (app)=>{
	app.get('/node/log',(req, res)=>{
		res.set('Content-Type','text/html');
		res.set('Character-set','utf-8');
		fs.createReadStream('log', 'utf-8').pipe(res);
	});
};
